<template>
  <div class="msg-list">
    <!-- <div class="msg-item">
      <div class="msg-title">消息标题</div>
      <div class="msg-content">消息内容</div>
    </div> -->
    <div class="msg-no-content">
      <!-- <i class="gsd-icon-line-chart-Radarchart" /> -->
      <img src="~@/assets/images/gsd-icon-line-Universal.svg" alt="" />
      <div>暂无消息</div>
    </div>
    <div class="list-more">查看全部</div>
  </div>
</template>

<script>
export default {
  name: 'MsgList',

  data() {},

  methods: {}
}
</script>

<style lang="scss" scoped>
.msg-no-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: white;
  height: 96px;
  .gsd-icon-line-chart-Radarchart {
    font-size: 56px;
  }
  > div {
    font-size: 14px;
    color: #919eab;
    line-height: 26px;
  }
}

.msg-list {
  padding-top: 14px;
  width: 224px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px 0;
  // padding-top: 8px;

  .msg-item {
    height: 62px;
    line-height: 24px;
    background: #f9f9f9;
    // padding: 8px 16px 0;
    font-family: PingFang-SC-Regular;

    .msg-title {
      font-size: 14px;
      font-weight: 600;
      color: #1d1f24;
      padding-left: 16px;

      .msg-content {
        font-size: 12px;
        color: #4d5e6d;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      &:before {
        content: '';
        position: absolute;
        width: 8px;
        height: 8px;
        margin: 8px 0 0 -16px;
        background: #ff5959;
        border-radius: 50%;
      }
    }

    &:hover {
      background: #eceffc;
    }
  }

  .list-more {
    font-size: 14px;
    color: #4a62e7;
    line-height: 22px;
    text-align: center;
    margin-bottom: 16px;
    // height: 32px;
    // line-height: 32px;
    // color: #5f78ff;
    // font-size: 14px;
  }
}
</style>
